//
//  NSDate+DarkDate.h
//  GMNHeaderFile
//
//  Created by 1 on 16/7/26.
//  Copyright © 2016年 gmn_dark. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DarkDateItem : NSObject
@property (nonatomic,assign)  NSInteger day;
@property (nonatomic,assign)  NSInteger hour;
@property (nonatomic,assign)  NSInteger minute;
@property (nonatomic,assign)  NSInteger second;

@end

@interface NSDate (DarkDate)
- (DarkDateItem *)lx_timeIntervalSinceDate:(NSDate *)anotherDate;

/**
 *  判断是否为今天
 *
*  @return <#return value description#>
 */
- (BOOL)lx_isToday;
/**
 *  判断是否是昨天
 *
 *  @return <#return value description#>
 */
- (BOOL)lx_isYesterday;
/**
 *  判断是否是明天
 *
 *  @return <#return value description#>
 */
- (BOOL)lx_isTomorrow;
/**
 *  判断是否是今年
 *
 *  @return <#return value description#>
 */
- (BOOL)lx_isThisYear;
//获取今天周几
- (NSInteger)getNowWeekday;

@end
